﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<script type="text/javascript">
     function OpenFileUpload(cqid,cid,pid) 
     {
            window.open('../RCManage/RC_FWFileUpload1.aspx?usetype=1033&pid='+pid+'&cid='+cid+'&cqid=' + cqid, '文件上传', 'height=600px,width=800px;toolbar =no,menubar=no, scrollbars=yes, resizable=no, location=no, status=yes');
        }
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
        margin-top: 1px">
        <tr>
            <td valign="middle" height="30">
                <font id="Font1" style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left; color: black;text-indent:1em;" runat="server">
                    日常发文 </font>
            </td>
        </tr>
    </table>
    
    
    <table cellpadding="0" cellspacing="0" align="center" class="window_tab_list" style="width:98%;margin:20px 0 10px 0;line-height:35px;text-align:center;">
                <tr style=" height:30px;">
                <td>标题：</td><td><asp:TextBox ID="txtTitle" runat="server" ></asp:TextBox></td>
                <td>开始时间：</td><td><CBW:MPCalendar ID="txtFsDate"  runat="server" /> </td>
                <td>结束时间：</td><td><CBW:MPCalendar ID="txtJsDate"  runat="server" /> </td>
                <td><asp:Button ID="btnSeach" runat="server" Text="查询" /></td>
                <td><asp:Button ID="btnInsert" runat="server" Text="新增" /></td>
                </tr>
            </table>
            <center>
<CBW:CustomGridView ShowItemNumber="true" AutoGenerateColumns="false" ID="CustomGridList1" runat="server"
        AllowPaging="true" AllowSorting="false" SkinID="List" CustomSortExpression=""  HideTextLength="20" 
           showcmpandcancel="False" showhidecolmodel="None" width="99%" CssClass="window_tab_list" CustomGridViewClass="window_tab_list_fst">
           <Columns>
            <asp:BoundField DataField="主题" HeaderText="主题" />
                <asp:BoundField DataField="发送时间" HeaderText="发送时间" />
                <asp:TemplateField HeaderText="编辑" ItemStyle-Width="60px">
                    <ItemTemplate>
                        <a href='RC_FwEdit.aspx?ID=<%#Eval("ID") %>'>编辑</a>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="上传附件" ItemStyle-Width="60px">
                    <ItemTemplate>
                        <a href='javascript:void(0)' onclick="OpenFileUpload('<%#Eval("ID") %>','<%#Eval("ID") %>','<%#Eval("ID" )%>');">上传附件</a>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="删除" ItemStyle-Width="60px">
                    <ItemTemplate>
                        <a href='RC_Fw.aspx?ID=<%#Eval("ID") %>'>删除</a>
                    </ItemTemplate>
                </asp:TemplateField>
           </Columns>
           </CBW:CustomGridView></center>